Skip to content

Conversation

jaylim-crl
Copy link
Contributor

Fixes #103494.

This commit fixes a flake on TestWatchTenants. There's a possibility where the cache invalidation logic races with the watcher termination logic in the test. This commit updates the test to wait for the cache invalidation before proceeding.

Release note: None

Epic: none

Fixes cockroachdb#103494.

This commit fixes a flake on TestWatchTenants. There's a possibility where
the cache invalidation logic races with the watcher termination logic in the
test. This commit updates the test to wait for the cache invalidation before
proceeding.

Release note: None

Epic: none
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@jaylim-crl jaylim-crl requested a review from pjtatlow May 18, 2023 20:22
Copy link
Collaborator

@jeffswenson jeffswenson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jaylim-crl
Copy link
Contributor Author

TFTR!

bors r=JeffSwenson

@craig
Copy link
Contributor

craig bot commented May 18, 2023

Build succeeded:

@craig craig bot merged commit b62c5f7 into cockroachdb:master May 18, 2023
@jaylim-crl jaylim-crl deleted the jay/230518-fix-103494 branch May 18, 2023 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ccl/sqlproxyccl/tenant: TestWatchTenants failed

3 participants